package com.whmall.service.crm.module.supplierchemical.service;

import com.whmall.component.entity.dto.OperatorReqDTO;
import com.whmall.service.crm.entity.dto.supplierchemical.SupplierChemicalCraftAttachmentReqDTO;

import java.util.List;

public interface SupplierChemicalCraftAttachmentService{

    /**
     * 根据craftId删除对应附件
     * @param idList
     * @param operatorReqDTO
     */
    void removeBatch(List<Long> idList, OperatorReqDTO operatorReqDTO);

    /**
     * 批量保存附件信息
     * @param list
     */
    void saveBatch(List<String> list, Long craftId, OperatorReqDTO operatorReqDTO);

}